using System.Linq;
using Home.Site.Models.Account;

namespace Home.Site.Models.DataLayer
{
    public interface IMusicRepository 
    {
        IQueryable<Music> GetMusicByUser(string userName);
        Music Find(int id);
        void InsertOrUpdate(Music music);
        void Delete(int id);
        void Save();
        bool FindByName(string filename, Account.UserProfile author);
    }
}